package com.yafeng.logic.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yafeng.logic.entity.BaoRbacRole;
import com.yafeng.logic.vo.QueryRoleList;
import com.yafeng.logic.vo.QueryTreeList;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 角色表 Mapper 接口
 * </p>
 *
 * @author cn.classbao
 * @since 2020-08-19
 */
@Repository
public interface BaoRbacRoleMapper extends BaseMapper<BaoRbacRole> {

    List<BaoRbacRole> queryRoleList(@Param("param") QueryRoleList param, Page<BaoRbacRole> page);

    List<QueryTreeList> queryRoleTreeList();
}
